projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa5bd38
)
css: Drop a bit of unreachable code
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 4 Feb 2021 05:39:34 +0000
(
00:39
-0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 4 Feb 2021 05:39:34 +0000
(
00:39
-0500)
We never get here. The compiler says so.
Pointed out in https://www.viva64.com/en/b/0793/
gtk/gtkcssselector.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcssselector.c
b/gtk/gtkcssselector.c
index f04a6fe7c5b32e77e4fb5acb93ef1c301ca4615b..951fbd1060e7c2bcf825763cc412b4c9782602fc 100644
(file)
--- a/
gtk/gtkcssselector.c
+++ b/
gtk/gtkcssselector.c
@@
-1073,11
+1073,8
@@
parse_n_plus_b (GtkCssParser *parser,
*a = 0;
return TRUE;
}
-
- gtk_css_parser_error_syntax (parser, "Not a valid an+b type");
- return FALSE;
}
-
+
static gboolean
parse_a_n_plus_b (GtkCssParser *parser,
int seen_sign,